#ifndef _TOOLS_H
#define _TOOLS_H

typedef unsigned char uchar;
typedef unsigned char byte;
typedef unsigned int uint;

typedef char BOOL;
#define TRUE 1
#define FALSE 0


// 向上取整
// such as :
// 3.14 -> 4
// -0.618 -> -1
int Rounded_up(double x);


#endif